package entity;

import java.io.Serializable;
import java.sql.Date;
import java.util.ArrayList;

/**
 * @class AddressingCustomer used to keep track of sales
 * 
 * @param eId save the id of the salesman that make the sale.
 * @param cId save the id of the customer of the relevant sale.
 * @param cpId save the id of the campaign of the relevant sale.
 * @param saleFlag determines weather sale was successful or not.
 * @param freeText save text in case of fail sale.
 * @param item save the item that sale.
 * @param quntity save the quantity of the  sale item.
 * @param categories_permit contains categories that we want to offer the customer.
 */
public class AddressingCustomer implements Serializable {
	private int eId;
	private int cId;
	private int cpId;
	private boolean saleFlag;
	private String freeText="";
	private String item="";
	private int quntity=0;
	private ArrayList<String> categories_permit;
	private double phoneCall=0;
	
	
	public ArrayList<String> getCategories_permit() {
		return categories_permit;
	}
	public void setCategories_permit(ArrayList<String> categories_permit) {
		this.categories_permit = categories_permit;
	}
	public int geteId() {
		return eId;
	}
	public void seteId(int eId) {
		this.eId = eId;
	}
	public int getcId() {
		return cId;
	}
	public void setcId(int cId) {
		this.cId = cId;
	}
	public int getCpId() {
		return cpId;
	}
	public void setCpId(int cpId) {
		this.cpId = cpId;
	}
	public boolean getSaleFlag() {
		return saleFlag;
	}
	public void setSaleFlag(boolean saleFlag) {
		this.saleFlag = saleFlag;
	}
	public String getFreeText() {
		return freeText;
	}
	public void setFreeText(String freeText) {
		this.freeText = freeText;
	}
	public String getItem() {
		return item;
	}
	public void setItem(String item) {
		this.item = item;
	}
	public int getQuntity() {
		return quntity;
	}
	public void setQuntity(int quntity) {
		this.quntity = quntity;
	}
	public double getPhoneCall() {
		return phoneCall;
	}
	public void setPhoneCall(double phoneCall) {
		this.phoneCall = phoneCall;
	}
	
	

}
